<?php
# idxCMS Flat Files Content Management System v5.0
# Copyright (c) 2011-2016 Victor Nabatov greenray.spb@gmail.com
# Module SITEMAP: Template

die();?>

<!-- FOREACH $point -->
<div class="section">
    <ul class="level1">
        <li class="level1">
            <a class="level1" href="$point.link">
                <span class="bg">
                <!-- IF !empty($point.desc) -->
                    <span class="title">$point.name</span>
                    <span class="subtitle">$point.desc</span>
                <!-- ELSE -->
                    $point.name
                <!-- END -->
                </span>
            </a>
            <!-- IF !empty($point.sections) -->
                <ul class="level2">
                <!-- FOREACH $point.sections -->
                    <li class="level2">
                        <a class="level2" href="$sections.link">
                        <!-- IF !empty($sections.desc) -->
                            <span class="title">$sections.title</span>
                            <span class="subtitle">$sections.desc</span>
                        <!-- ELSE -->
                            $sections.title
                        <!-- END -->
                        </a>
                    <!-- IF !empty($sections.categories) -->
                        <ul class="level3">
                        <!-- FOREACH $section.categories -->
                            <li class="level3">
                                <img src="[$categories.path]icon.png" width="35" height="35" alt="ICON" />
                                <a class="level3" href="$categories.link">
                                <!-- IF !empty($categories.desc) -->
                                    <span class="title">$categories.title</span>
                                    <span class="subtitle">$categories.desc</span>
                                <!-- ELSE -->
                                    $categories.title
                                <!-- END -->
                                </a>
                            </li>
                        <!-- END -->
                        </ul>
                    <!-- END -->
                    </li>
                <!-- END -->
                </ul>
            <!-- END -->
        </li>
    </ul>
</div>
<!-- END -->
